package com.gaohe.hotal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 员工日轮班对象 hot_employee_turn
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public class HotEmployeeTurn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日轮班ID */
    private Long turnId;

    /** 月绩效ID */
    @Excel(name = "月绩效ID")
    private Long performanceId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long userId;

    /** 员工名 */
    @Excel(name = "员工名")
    private String userName;

    /** 门店id */
    @Excel(name = "门店id")
    private Long hotalId;

    /** 轮班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "轮班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date turnDate;

    /** 班次(字早班/中班/晚班) */
    @Excel(name = "班次(字早班/中班/晚班)")
    private String clazz;

    /** 工作时间 */
    @Excel(name = "工作时间")
    private Long workHour;

    /** 轮班状态(字到岗/旷班/迟到/早退) */
    @Excel(name = "轮班状态(字到岗/旷班/迟到/早退)")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    public void setTurnId(Long turnId) 
    {
        this.turnId = turnId;
    }

    public Long getTurnId() 
    {
        return turnId;
    }

    public void setPerformanceId(Long performanceId) 
    {
        this.performanceId = performanceId;
    }

    public Long getPerformanceId() 
    {
        return performanceId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setHotalId(Long hotalId) 
    {
        this.hotalId = hotalId;
    }

    public Long getHotalId() 
    {
        return hotalId;
    }

    public void setTurnDate(Date turnDate) 
    {
        this.turnDate = turnDate;
    }

    public Date getTurnDate() 
    {
        return turnDate;
    }

    public void setClazz(String clazz) 
    {
        this.clazz = clazz;
    }

    public String getClazz() 
    {
        return clazz;
    }

    public void setWorkHour(Long workHour) 
    {
        this.workHour = workHour;
    }

    public Long getWorkHour() 
    {
        return workHour;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("turnId", getTurnId())
            .append("performanceId", getPerformanceId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("hotalId", getHotalId())
            .append("turnDate", getTurnDate())
            .append("clazz", getClazz())
            .append("workHour", getWorkHour())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
